/*! \file IndexBufferImpl.h
 *	\brief <write description for IndexBufferImpl.h>
 *
 *	created:	2010/12/12
 *	created:	12:12:2010   23:42
 *	filename: 	C:\src\tactics-engine\libs\gd_dx11\IndexBufferImpl.h
 *	file path:	C:\src\tactics-engine\libs\gd_dx11
 *	file base:	IndexBufferImpl
 *	file ext:	h
 *	author:		Vitalii Trubchaninov
 *				venngraydog@gmail.com
 */

#ifndef _gd_dx11_INDEXBUFFERIMPL_H_
#define _gd_dx11_INDEXBUFFERIMPL_H_

#pragma once

#include "BufferImpl.h"

namespace tt{
namespace gd_dx11{

class IndexBufferImpl : public BufferImpl
{
public:
	IndexBufferImpl();
	virtual ~IndexBufferImpl();

	Result Create(Device*, UInt count);

protected:
	virtual void onApply(gd::DeviceContext*);
};

} //namespace gd_dx11
} //namespace tt

#endif //_gd_dx11_INDEXBUFFERIMPL_H_